package com.java.mall_imooc.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 白名单路径
 * @author jl
 * @since  2019-11-06 14:50
 */
@Component
@ConfigurationProperties(prefix = "filter")
@Data
public class WhitelistProperties {

    private List<String> allowPaths;

}
